package cz.najman.emdroid.exception;

public class UnknownMethodException extends RuntimeException{

	private static final long serialVersionUID = 8366057623479127481L;
	
	private Throwable mCause;
	
	public UnknownMethodException() {
		mCause = new Throwable("Unknown method");
	}

	public UnknownMethodException(String cause) {
		super();
		this.mCause = new Throwable(cause);
	}	
	
	public Throwable getCause(){
		return mCause;
	}
	
	public String getMessage(){
		return mCause.getMessage();
	}
	
}
